import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 *  * 班次机台分段产能记录
 * */
// 创建
export const productionMachineProductRecordsCreate = (data) => postRequest('/production/machine-product-records/create', data);

// 更新
export const productionMachineProductRecordsUpdate = (data) => putRequest('/production/machine-product-records/update', data);

// 删除
export const productionMachineProductRecordsDelete = (params) => deleteRequest('/production/machine-product-records/delete', params);

// 获得
export const productionMachineProductRecordsGet = (params) => getRequest('/production/machine-product-records/get', params);

// 获得分页
export const productionMachineProductRecordsPage = (params) => getRequest('/production/machine-product-records/page', params);

export const productionMachineListPage = (params) => getRequest('/segment/record/page', params);
export const productionMachineProductRecordsBatchUpdate = (params) => putRequest('/production/machine-product-records/batch-update', params);
